<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="page pull-left">
    <ul class="pagination">
        <li>共${pageInfo.total}条数据</li>
        <li>&nbsp;&nbsp;</li>
        <li>共${pageInfo.pages}页</li>
    </ul>
</div>
<div class="page pull-right">
    <!-- 分页插件 -->
    <ul class="pagination">
        <li
                <c:if test="${!pageInfo.hasPreviousPage}">class="disabled"</c:if> >
            <a <c:if test="${pageInfo.hasPreviousPage}"> href="${requestUrl}&pageNum=${pageInfo.prePage}" </c:if>>
                <i class="icon-double-angle-left"></i>
            </a>
        </li>
        <c:forEach items="${pageInfo.navigatepageNums}" var="num">
            <li <c:if test="${pageInfo.pageNum == num}">class="active"</c:if>>
                <a <c:if test="${pageInfo.pageNum != num}">href="${requestUrl}&pageNum=${num}" </c:if>>${num}</a>
            </li>
        </c:forEach>
        <li <c:if test="${!pageInfo.hasNextPage}">class="disabled"</c:if>>
            <a <c:if test="${pageInfo.hasNextPage}"> href="${requestUrl}&pageNum=${pageInfo.nextPage}" </c:if>>
                <i class="icon-double-angle-right"></i>
            </a>
        </li>
    </ul>
</div>